<!-- 
	动态组件：空组件
	props: 
		data: 组件数据
		
	action:
		
 -->
<template>
    <view
        class="dynamic-space"
        :style="{
            height: getHeight(data.SpaceSize),
        }">
    </view>
</template>

<script>
import { getHeight } from "./utils/util.js"
export default {
    props: {
        data: {
            type: Object,
            default: () => {},
        },
    },
    data() {
        return {}
    },
    mounted() {
        this.$emit("loadBack", this.data.index)
    },
    methods: {
        getHeight(height) {
            return getHeight(height)
        },
    },
}
</script>

<style lang="scss" scope>
@import "@/uni-sub-base/components/dynamic/style/dynamic.scss";
</style>
